import javax.jms.JMSException;


public class TestMQ {

	/**
	 * @param args
	 * @throws JMSException 
	 */
	public static void main(String[] args) throws JMSException {
		com.ibm.mq.jms.MQQueueConnectionFactory factory = new 
				com.ibm.mq.jms.MQQueueConnectionFactory();
				factory.setQueueManager("QM_Local");
				factory.setHostName("MyThinkPad");
				factory.setPort(1414);

			
				factory.createConnection();

	}

}
